@charset "utf-8";

// 默认设计稿的宽度
$designWidth: 1920;
// 默认设计稿的高度
$designHeight: 1080;

@mixin px2vw($name, $px) {
  #{$name}: ($px / $designWidth) * 100vw;
}

@mixin px2vh($name, $px) {
  #{$name}: ($px / $designHeight) * 100vh;
}

@mixin px2font($px) {
  font-size: ($px / $designWidth) * 100vw;
}
